<?php
class User extends Api\Abstracte\Controller
{
    /**
     * 构造函数
     */
    public function __construct()
    {
    	parent::__construct();
        $this->load->model('UserModel');
        $this->model = $this->UserModel;
    }

    public function index(){
        echo 'hello';
    }

    public function getOne(){
       echo json_encode(['code'=>1000,'msg'=>'hahaha']);
       exit;
    }
} 